/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.dal.dao;

import java.util.List;

import com.yanlight.app.dal.entity.AlipayConfig;

/**
 * 
 * @author haolw
 * @time 2017/08/25
 */
public interface AlipayConfigDAO {
	
	AlipayConfig findById(Integer id);
	
	AlipayConfig findByCompanyId(Integer companyId);
	
	List<AlipayConfig> findByCompanyIds(List<Integer> companyId);
	
	void save(AlipayConfig config);
	
	void update(AlipayConfig config);

	void deleteByCompanyId(Integer id);

}
